﻿
using HBase;
using hCommand.dto;
using hCommand.entity;
using System;
using System.Collections.Generic;
using System.Data;

namespace hCommand {
    public interface ISysServer : IBaseServer
    {
        long getId();
      
        DateTime GetTime();
        List<BParam> getParams();
        BParam getParam(string driveType, int driveId, string key);
        List<BParam> getParams(string driveType, int driveId);
        bool update(string driveType, int driveId, string key, long value);
        bool updateParamCacheTicks(  int paramId );
        List<SysFile> getFile(long Pid);

        void saveFile(SysFile f);

        Page<SysFile> queryFilePage(FileDto dto);

        List<SysFile> queryFileList(FileDto dto);
        void clearFile(long Pid);

        List<T> getChange<T>(long tick) where T: BaseEntity;

 

  

    }
}
